package com.chapter2.sort;

/** 
 * @ClassName: SwapImpl 
 * @Description: 交换的实现类 
 * @author minjun minjun@bw30.com
 * @date 2015-2-16 下午3:49:33 
 *  
 */
public class SwapImpl implements Swapable{
	
	@Override
	public void exchange(int[] array, int a, int b) {
		int temp=array[a];
		array[a]=array[b];
		array[b]=temp;
	}          
}
